<fieldset class="set">
	<legend>{% i < Caption %}</legend>
	{%if ReadOnly%}
		{%iterate Value as element%}
			<div class="set-value">{% i < element %}</div>
		{%iterate%}
	{%else%}
		{%assign v Value%}
		{%assign nm Name%}
		{%iterate Selection as code > element%}
			<div class="set-value"><input type="checkbox" name="{% nm %}[{% code %}]"{%if $v[$code] %} checked="true"{%endif%}/>{% i < element %}</div>
		{%iterate%}
	{%endif%}
</fieldset>
